<form id="edit-assign-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <div class="col-xs-12 col-sm-8">
            <table id="table_assign_user" class="table table-striped table-bordered table-hover table-nowrap" data-search="false" data-common-search="true" data-show-toggle="false" data-show-columns="false" data-show-export="false" width="100%">
            </table>
        </div>
    </div>
</form>

<script id="assignsearchformtpl" type="text/html">
    <form action="" class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap" method="post">
        <div class="well" style="box-shadow:none;border-radius:2px;margin-bottom:10px;">
            <div class="row">
                <div class="col-xs-3 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label">{:__('id')}</label>
                        <input class="operate" type="hidden" data-name="id" value=""/>
                        <input class="form-control" type="text" name="id" placeholder="" value=""/>
                    </div>
                </div>
                <div class="col-xs-3 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label">{:__('专家')}</label>
                        <input class="operate" type="hidden" data-name="nickname" value=""/>
                        <input class="form-control" type="text" name="nickname" placeholder="" value=""/>
                    </div>
                </div>
                <div class="col-xs-6 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label">{:__('职位')}</label>
                        <input type="hidden" class="operate" data-name="category_id" value="="/>
                        {:build_select('category_id', $categories, 0, ['class'=>'form-control selectpicker'])}
                    </div>
                </div>
                <div class="col-xs-3 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label">{:__('工作状态')}</label>
                        <input type="hidden" class="operate" data-name="work_status" value="="/>
                        {:build_select('work_status', $workStatus, 0, ['class'=>'form-control selectpicker'])}
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-3 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label"></label>
                        <div class="row">
                            <div class="col-xs-6">
                                <input type="submit" class="btn btn-success btn-block" value="{:__('Submit')}"/>
                            </div>
                            <div class="col-xs-6">
                                <input type="reset" class="btn btn-primary btn-block" value="{:__('Reset')}"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</script>
